package indi.zhifa.recipe.bailan.busy.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.recipe.bailan.framework.mysql.entity.po.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 设备表
 * </p>
 *
 * @author 织法
 * @since 2022-12-19
 */
@Data
@TableName("busy_device")
@Schema(title = "设备对象", description = "设备表")
public class DeviceEntity extends BaseEntity{

    @Schema(title = "设备码")
    private String code;

    @Schema(title = "设备密码")
    private String password;

    @Schema(title = "设备名")
    private String name;

    @Schema(title = "设备描述")
    private String description;

    @Schema(title = "部门Id")
    protected Long groupAuthId;

    @Schema(title = "部门级联")
    protected String groupAuthCascade;

    @Schema(title = "公司Id")
    protected Long companyAuthId;

    @Schema(title = "公司名称")
    protected String companyName;

}
